package DataModel;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author tuyetphuong
 */
public class DataModel {

    public int iIDUser;
    public int iIDItem;
    public int iRating;
    public long iTimeStamp;
    public int iRow;

    public DataModel() {
        iIDUser = 0;
        iIDItem = 0;
        iRating = 0;
        iTimeStamp = 0;
    }

    public DataModel(int _iIDUser, int _iIDItem, int _iRating, long _iTimeStamp) {
        iIDUser = _iIDUser;
        iIDItem = _iIDItem;
        iRating = _iRating;
        iTimeStamp = _iTimeStamp;

    }

    public int GetIDUser() {
        return iIDUser;

    }

    public int GetIDItem() {
        return iIDItem;
    }

    public int GetRating() {
        return iRating;
    }

    public long GetTimeStamp() {
        return iTimeStamp;
    }
    public int GetRow()
    {
        return iRow;
    }
    public void SetRow(int _iRow)
    {
        iRow=_iRow;
    }

   
}
